<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>Dashboard Template for Bootstrap</title>
		<link rel="stylesheet" type="text/css" href="/xiaomi/Public/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="/xiaomi/Public/css/type.css" />
	

	</head>

	<body class="index_body">

		<!--*****************************************导航栏*****************************************************-->
		<nav class="navbar navbar-inverse navbar-fixed-top">
			<div class="container-fluid">
				<!--小米商城名称以及隐藏内容按钮-->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
			        <span class="sr-only"></span>
			        <span class="icon-bar"></span>
			        <span class="icon-bar"></span>
			        <span class="icon-bar"></span>
			    </button>
					<a class="navbar-brand" href="#">小米商城</a>
				</div>
				<!--下拉导航-->
				<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
					<ul class="nav navbar-nav">
						<li class="active">
							<a href="/xiaomi/index.php?s=/Home/Index/index.html">首页</a>
						</li>
						<li class="dropdown">
							<a href="/xiaomi/index.php?s=/Home/Index/classify.html">分类</a>
						</li>
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
								我的 <span class="caret"></span>
							</a>
							<ul class="dropdown-menu">
								<li>
									<a href="/xiaomi/index.php?s=/Home/Cart/index.html">购物车</a>
								</li>
								<li>
									<a href="/xiaomi/index.php?s=/Home/User/order.html">订单</a>
								</li>
								<li>
									<a href="/xiaomi/index.php?s=/Home/User/personalInfo">信息</a>
								</li>
							</ul>
						</li>
					</ul>
					<!--搜索条-->
					<form class="navbar-form navbar-right">
						<div class="form-group has-feedback">
							<span class="glyphicon glyphicon-search form-control-feedback"></span>
							<input type="text" class="form-control" placeholder="Search for..." autofocus>
						</div>
					</form>
					<!--登陆注册连接-->
					<ul class="nav navbar-nav navbar-right">
					    <li>
							<?php if(($_SESSION['userName']) != ""): ?><a>欢迎您，<?php echo (session('userName')); ?></a><?php endif; ?>
						</li>
						<li>
							<a href="/xiaomi/index.php?s=/Home/User/login">登陆</a>
						</li>
						<li>
							<a href="/xiaomi/index.php?s=/Home/User/register">注册</a>
							<!-- "/xiaomi/index.php?s=/Admin/Controller/action" -->
						</li>
					</ul>
				</div>
			</div>
		</nav>
		<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>Dashboard Template for Bootstrap</title>
		<link rel="stylesheet" type="text/css" href="/xiaomi/Public/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="/xiaomi/Public/css/type.css" />
		<script type="text/javascript">
			function allsubmit() {
				var T = true;
				var e = window.event;
				var obj = e.srcElement;
				for(var i = 1; i <= 5; i++) {
					if(eval("obj." + "txt" + i).value == "") {
						T = false;
						break;
					}
				}
				if(!T) {
					alert("表单不能为空");
				}
				return T;
			}
		</script>
		<style>
		form{
		margin-top:-4em;}
		td{
		padding:0.2em 0;
		}
		</style>
		

	</head>

	<body class="signin_body">	
		<!--*********************************************section**********************************************************-->
		<section class="container signin_section">
			<div class="col-lg-4 col-md-3"></div>
			<div class="col-lg-4 col-md-6 col-xs-12">
				<form class="form-signin" method="post"  onsubmit="return allsubmit()">
					<h2 class="page-header signin_title">注册</h2>
					<table width="100%" >
					<tr><td>
					手机号:</td><td><input type="text" class="form-control" placeholder="手机号" name="UserId" id="txt1"></td></tr>
					<td>用户昵称：</td><td><input type="text" class="form-control" placeholder="用户昵称" name="UserName" id="txt2"></td></tr>
					<tr><td></td></tr>
					<tr><td>邮箱：</td><td><input type="email" class="form-control" placeholder="邮箱" name="Email" id="txt3"></td></tr>
					<tr><td>密码：</td><td><input type="password" class="form-control" placeholder="密码" name="Password" id="txt4"></td></tr>
					<tr><td>确认密码：</td><td><input type="password" class="form-control" placeholder="确认密码" id="txt5"></td></tr>
					</table>
					<br>
					<button class="btn btn-lg btn-primary btn-block" type="submit" src="/xiaomi/index.php?s=/Home//xiaomi/index.php?s=/Home/User/register" name="submit">注册</button>
				</form>

			</div>
		</section>
		<script type="text/javascript" src="/xiaomi/Public/js/jquery.min.js">
		</script>
		<script type="text/javascript" src="/xiaomi/Public/js/bootstrap.min.js"></script>
	</body>

</html>
	
</body>
</html>